package net.cloudcodex.client.storyboard.command.view;

import java.util.Map;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.i18n.client.Constants;
import com.google.gwt.i18n.client.Messages;
import com.google.gwt.user.client.ui.IsWidget;

import net.cloudcodex.shared.MessageAction;

public interface CommandView extends IsWidget {

	public interface Constant extends Constants {
		public String getDiceLineLabelStyle();
	}
	
	public interface Message extends Messages {
		public String getButtonGeneric();

		public String getButtonDice();

		public String getLabelDiceOf(@Optional @PluralCount int dice);

		public String getLabelRoll();

		public String getLabelSide();

		public String getTabAction();

		public String getTabDice();

		public String getTabOff();
	}

	public interface CommandTab {
		public HasClickHandlers getButton();

		public String getMessage();

		public void emptyMessage();
	}

	public CommandTab getActionTab();

	public MessageAction getMessageActionType();

	public CommandTab getOffTab();

	public CommandTab getDiceTab();

	public HasClickHandlers getMoreDiceButton();

	public void newDiceLine();

	public Map<Integer, Integer> getDices();

	public void emptyDice();
}
